<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>login</title>
</head>
<body>
	<h3>表单登录</h3>
	<form action="/login" method="post">
		<table>
			<tr>
				<td>用户名:</td>
				<td><input type="text" name="username"></td>
			</tr>
			<tr>
				<td>密码:</td>
				<td><input type="password" name="password"></td>
			</tr>
			<tr>
				<td>验证码:</td>
				<td><input type="text" name="code"></td>
				<td><img src="/code/image"></td>
			</tr>
			<tr>
				<td></td>
				<td></td>
				<td><p style="color: red">注意图形验证码只有效一次，如果登录不成功，请刷新登录页面获得新的验证码</p></td>
			</tr>

			<tr>
				<td colspan='2'><input name="remember-me" type="checkbox"
					value="true" />记住我</td>
			</tr>
			<tr>
				<td colspan="2"><button type="submit">登录</button></td>
			</tr>
		</table>
	</form>
	
	<h3>短信登录</h3>
	<form action="/authentication/sms" method="post">
		<table>
			<tr>
				<td>手机号码:</td>
				<td><input type="text" name="mobile" value="15588081976"></td>
			</tr>

			<tr>
				<td>验证码:</td>
				<td><input type="text" name="code"></td>
				<td><a href="/code/sms?mobile=15588081976">发送短信验证码</a></td>
			</tr>
			<tr>
				<td colspan="2"><button type="submit">登录</button></td>
			</tr>
		</table>
	</form>
	
	<h3>表单登录</h3>
	<form action="/login" method="post">
		<table>
			<tr>
				<td>用户名:</td>
				<td><input type="text" name="username"></td>
			</tr>
			<tr>
				<td>密码:</td>
				<td><input type="password" name="password"></td>
			</tr>

			<tr>
				<td colspan="2"><button type="submit">登录</button></td>
			</tr>
		</table>
	</form>
	
	<h3>QQ登录</h3>
	<a href="/auth/qq">QQ登录</a>

</body>
</html>